package com.wsd.smartcarwasher.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class OfflineCountRecord implements Serializable {
    @ApiModelProperty(value = "Id")
    private Integer id;

    @ApiModelProperty(value = "普洗单数")
    private Integer garmentwashnum;

    @ApiModelProperty(value = "快洗单数")
    private Integer quickwashnum;

    @ApiModelProperty(value = "打蜡单数")
    private Integer waxingwashnum;

    @ApiModelProperty(value = "总交易单数")
    private Integer tatalnum;

    @ApiModelProperty(value = "记录日期，精确到日，如2020-07-21")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private String recordtime;

    @ApiModelProperty(value = "设备id")
    private String machineid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGarmentwashnum() {
        return garmentwashnum;
    }

    public void setGarmentwashnum(Integer garmentwashnum) {
        this.garmentwashnum = garmentwashnum;
    }

    public Integer getQuickwashnum() {
        return quickwashnum;
    }

    public void setQuickwashnum(Integer quickwashnum) {
        this.quickwashnum = quickwashnum;
    }

    public Integer getWaxingwashnum() {
        return waxingwashnum;
    }

    public void setWaxingwashnum(Integer waxingwashnum) {
        this.waxingwashnum = waxingwashnum;
    }

    public Integer getTatalnum() {
        return tatalnum;
    }

    public void setTatalnum(Integer tatalnum) {
        this.tatalnum = tatalnum;
    }

    public String getRecordtime() {
        return recordtime;
    }

    public void setRecordtime(String recordtime) {
        this.recordtime = recordtime;
    }

    public String getMachineid() {
        return machineid;
    }

    public void setMachineid(String machineid) {
        this.machineid = machineid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", garmentwashnum=").append(garmentwashnum);
        sb.append(", quickwashnum=").append(quickwashnum);
        sb.append(", waxingwashnum=").append(waxingwashnum);
        sb.append(", tatalnum=").append(tatalnum);
        sb.append(", recordtime=").append(recordtime);
        sb.append(", machineid=").append(machineid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}